package com.nail.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

public interface IBaseDao<T> extends Mapper<T>,MySqlMapper<T> {
    @Select("${sql}")
    public List<T> selectSQL(@Param("sql") String sql);

    @Select("${sql}")
    public Integer CountSQL(@Param("sql") String sql);

}
